package com.edg.service.impl;

import com.edg.dao.ClientUserMapper;
import com.edg.service.UserService;
import entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private ClientUserMapper userMapper;

    @Override
    public List<User> listUser() {
        return userMapper.selectAll();
    }
}
